<template>

<el-container>
  <el-aside width="auto">

    <!-- 导航菜单的组件化 -->
    <common-aside/>
  </el-aside>
  <el-container>
    <el-header>
      <common-header/>
    </el-header>
    <el-main>
        <router-view></router-view>
    </el-main>
  </el-container>
</el-container>


</template>
<style scoped>
.el-header{
  padding: 0;
}

</style>

<script>
import CommonAside from '@/components/CommonAside.vue';
import CommonHeader from '@/components/CommonHeader.vue';

export default{
    data(){
        return {}
    },
    components:{
      CommonAside,
      CommonHeader
    }
}
</script>
